package code
package snippet

import scala.xml.{ NodeSeq, Text }
import net.liftweb.util._
import net.liftweb.common._
import java.util.Date
import code.lib._
import Helpers._
import net.liftweb.http.js.JsCmds._

class Index {
  lazy val date: Box[Date] = DependencyFactory.inject[Date]

  def howdy(in: NodeSeq): NodeSeq = {
    (
      "#time *" #> date.map(_.toString)).apply(in)
  }

}

